﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;

using System.Text;
using System.Windows.Forms;
using System.Net;

namespace NewPagePatroller
{
    public partial class LoginWindow : Form
    {

        public LoginWindow(ref string username, ref string password, ref string project)
        {
            InitializeComponent();
            this.ShowDialog();
            username = textBox1.Text;
            password = textBox2.Text;
            project = comboBox1.SelectedText;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            AboutBox1 aboutbox = new AboutBox1();
            aboutbox.ShowDialog();
        }

        private void LoginWindow_Load(object sender, EventArgs e)
        {

        }
    }
}
